package com.yztc.love_travel.ui.fourtrip.model;

import com.yztc.love_travel.bean.fourtrip.FourTripBean;
import com.yztc.love_travel.bean.fourtrip.FourTripDetailsBean;
import com.yztc.love_travel.http.HttpUtils;

import java.util.Map;

import rx.Observable;

/**
 * Created by 周旭 on 2016/11/28.
 */

public class FourTripModelImpl implements IFourTripModel {
    @Override
    public Observable<FourTripBean> getFourTripBean(String baseUrl, Map<String, Object> params) {
        return HttpUtils.getFourTripBean(baseUrl,params);
    }

    @Override
    public Observable<FourTripDetailsBean> getFourTripDetails(String baseUrl, int destinationId) {
        return HttpUtils.getFourTripDetailsBean(baseUrl,destinationId);
    }
}
